/**
 *  @file       filter.css
 *  @brief      reset css styles
 *
 *
 *  @author     liumoran@outlook.com
 *  @version    1.0
 *  @date       2019
*/


label{
    user-select: none;
}

.w_100{
    width: 100%;
}
/* inhert part */
.green {
    background-color: #a9cf90;
}
.gray{
    background-color: #f9f9f9;
}

.label_task_id {
    padding-left: 19.47px;
    padding-right: 19.47px;
}

.btn_cancel {
    padding: 5px 31.8px;
}

.item_box {
    margin: 0;
    font-size: 0;

    .item_title {
        width: 20%;
        float: left;

        .list-group-item {
            font-size: 14px;
            // padding: 0;
        }
    }
}

.nav-tabs>label>li {
    float: left;
    margin-bottom: -1px;
}

.item_label {
    // padding-left: 10px;
    box-sizing: border-box;
    padding: 10px 15px;
    margin-bottom: 0;
    // border-left:1px solid black;
}

input {
    border: 0;
    outline: none;
    background-color: rgba(0, 0, 0, 0);
}

.btn_ft_yes,
.btn_ft_no {
    padding-left: 40px;
    padding-right: 40px;
    margin-right: 20px;
}

/* top right */
.show_box {
    padding-top: 10px;
}

.show {
    // background-color: red;
    font-size: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;

}

.tltle_box {
    display: inline-block;
    width: calc(47% - 5px);
    vertical-align: top;
    margin-right: 5px;
    background-color: #5cb85c;
    border-radius: 5px;
    color: white;
    min-height: 34px;
    font-size: 14px;
    line-height: 34px;
    text-align: center;
    margin-bottom: 8px;

    p {
        text-align: left;
        padding-top: 8px;
        padding-left: 2px;
        line-height: 16px;
    }
}

.text_box {
    margin-left: 5px;
    margin-bottom: 8px;
    padding: 5px;
    display: inline-block;
    vertical-align: top;
    width: calc(53% - 5px);
    background-color: #c6dfb5;
    min-height: 34px;
    font-size: 14px;
    line-height: 34px;
    text-align: left;

    p {
        padding-top: 8px;
        padding-left: 2px;
        line-height: 16px;
    }

    .img_box{
        margin: 0 auto;
        width: 100%;

        img{
            width: 100%;
        }
    }
}

.height_80 {
    min-height: 80px;
}

.height_120 {
    min-height: 120px;
}

/* table */
#table_head_1{
    width: 20%;
}
#table_head_2{
    width: 30%;
}
#table_head_3{
    width: 30%;
}

#tbody_1{
    // display: none;
}

/* checkbox */
.checkbox{
    display: inline-block;
}
.cbl{
    user-select: none;
    // background-color: pink;
}
#cb0, #cb_risk{
    display: none;
}
#filter_table{
    display: none;
}
#lab_filter{
    padding-left: 50px;
    padding-right: 50px;
}

/* ----------detail page--------------- */
.detail_page{
    .col-sm-4{
        // padding-left: 25px;
        // padding-right: 25px;
    }
    .panel{
        margin-bottom: 15px;
    }
    .panel-success{
        border-color: #5cb85c;
        .panel-heading{
            padding: 5px 12px;
            color: #ffffff;
            background-color: #5cb85c;
            border-color: #5cb85c;
            .panel-title{
                font-weight: normal;
            }
        }
        .panel-body{
            padding: 5px 15px;
            .p_area{
                float: left;
            }
            p{
                margin: 0;
                font-size: 12px;
            }
            .btn_area{
                float: right;
            }
            
            .img_box{
                margin: 0 auto;
                width: 100px;
                img{
                    width: 100%;
                }
            }
        }
    }
}

/* ----------right bar------------- */
.right_bar{
    padding-left: 5px;
    padding-right: 5px;

    .btn_area{
        // position: fixed;
        padding-right: 15px;
        .button{
            font-size: 20px;
            padding: 10px, 15px;
            margin-top: 15px;
            width: 100%;
            border-radius: 40px;
        }
    }
}

/* -------------- display window ---------------- */

/* mac_box */
.mac_box{
    position: absolute;
    right: 0;
    left: 0;
    margin: 10px auto;
    // min-width: 300px;
    max-width: 80%;
    // min-height: 350px;
    overflow: hidden;
    border-radius: 10px;
    /* to be delete */
    background-color: #fff;
    box-shadow: 1px 1px 7px 1px;
    display: none;
    .mac_title{
        width: inherit;
        height: 38px;
        padding: 5px 9px;
        background-color: #5cb85c;
        border-bottom: 1px solid #5cb85c;
        font-size: 0;
        .text_area{
            // width: 50%;
            height: 100%;
            display: inline-block;
            vertical-align: top;
            p{
                font-size: 16px;
                color: white;
                line-height: 27px;
                text-indent: 1em;
            }
        }

        .round_btn_area{
            display: inline-block;
            vertical-align: top;
            padding-top: 8px;
            padding-bottom: 8px;
            float: right;

            .btn_round{
                width: 12px;
                height: 12px;
                border-radius: 50%;
                border: 1px solid black;
                display: inline-block;
                vertical-align: top;
                margin-left: 4px;
                margin-right: 4px;
                cursor: pointer;
            }
            .btn_close{
                border-color: #ef4b47;
                background-color: #fc625d;
            }
            .btn_max{
                border-color: #dfa137;
                background-color: #fdbd41;
            }
            .btn_min{
                border-color: #b0b0b0;
                background-color: #d1d1d1;
            }
        }
    }
    .mac_body{
        width: 100%;
        // height: 100%;
        padding: 20px;
        background-color: #fff;
        font-size: 16px;
        text-align: left;
        font-size: 12px;
    }
}

#evaluation{
    max-width: 50%;
}

#optimize{
    max-height: 800px;
    margin-top: -20px;
}

#evaluation, #optimize{
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    right:0;
    margin: auto;
    z-index: 1033;

    .mac_body{
        font-size: 12px;
        em{
            font-style: normal;
            font-weight: bolder;
        }
    }


    .img_box{
        max-width: 70%;
        overflow: hidden;
        border: 1px solid black;
        img{
            width: 100%;
        }
    }

}

.table_input{
    width: 75%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* --------------search part------- */
.input_text, .input_search{
    padding-left: 7px;
    width: 230px;
    height: 46px;
    margin-bottom: 7px;
    border: 1px solid #6b6b6b;
    border-radius: 5px;
}

#btn_search, #btn_risk{
    outline: none;
}

/* -------------position----------- */
.task_detail{
    position: fixed;
    padding-bottom: 15px;
    right: 0;
    left: 0;
    z-index: 1031;
    padding-top: 15px;
    background-color: #fff;
}

.task_tab{
    margin-top: 394px;
}

.no_outline{
    outline: none !important;
}

.width_25{
    width: 20% !important; 
}

.width_100{
    width: 100% !important;
}

.mt_15{
    margin-top: 15px;
}

.mb_15{
    margin-bottom: 15px;
}
// filter_hidden
.filter_hidden{
    display: none;
    .btn_off{
        background-color: #ccc;
        color: white;
    }
    
    .btn_on{
        background-color: #fff;
        color: #5cb85c;
        border-color: #5cb85c;
    }
    
}

.switch_off{
    background-color: #fff;
    border-color: black;
    color: black;
}

.switch_on{
    background-color: #f0ad4e;
    border-color: #eea236;
    color: white;
}

